花费 17 ms
深入浅出 c++11 std::async

c++11中增加了线程,使得我们可以非常方便的创建线程,它的基本用法是这样的: void f(int n); std::thread t(f, n + 1); t.join(); 但是线 ...

Fri Apr 15 19:51:00 CST 2016 0 4303

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM